import request from '@/utils/request'

export function fetchList(query) {
  return request({
    url: '/parkCollector/list',
    method: 'post',
    data: query
  })
}

export function deleteParkCollector(query) {
  return request({
    url: '/parkCollector/deleteParkCollector',
    method: 'post',
    data: query
  })
}

export function createParkCollector(query) {
  return request({
    url: '/parkCollector/createParkCollector',
    method: 'post',
    data: query
  })
}

export function updateParkCollector(query) {
  return request({
    url: '/parkCollector/updateParkCollector',
    method: 'post',
    data: query
  })
}
